package com.isp.common.model.user;


import java.io.Serializable;

/**
 * 数据权限资源传输类
 *
 * @author wayne
 * @date 2021/09/06
 */
public class PermissionDTO implements Serializable {

    private static final long serialVersionUID = 187283099631570113L;

    /**
     * 组织代码
     */
    private String groupCode;
    /**
     * 资源类型：hive，hdfs
     */
    private String resType;

    /**
     * 资源地区
     */
    private String area;

    /**
     * 资源完整路径
     */
    private String resFullPath;

    /**
     * 资源全名
     */
    private String resFullName;

    /**
     * 资源操作位：读，写，查询
     */
    private String operationBit;

    public PermissionDTO() {
    }

    public PermissionDTO(String groupCode, String resType, String area, String resFullPath, String resFullName, String operationBit) {
        this.groupCode = groupCode;
        this.resType = resType;
        this.area = area;
        this.resFullPath = resFullPath;
        this.resFullName = resFullName;
        this.operationBit = operationBit;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public String getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = resType;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getResFullPath() {
        return resFullPath;
    }

    public void setResFullPath(String resFullPath) {
        this.resFullPath = resFullPath;
    }

    public String getResFullName() {
        return resFullName;
    }

    public void setResFullName(String resFullName) {
        this.resFullName = resFullName;
    }

    public String getOperationBit() {
        return operationBit;
    }

    public void setOperationBit(String operationBit) {
        this.operationBit = operationBit;
    }
}
